import { constantRoutes } from '@/router'
export default {
  namespaced: true,
  state: {
    menuList: [...constantRoutes]
  },
  mutations: {
    setmenuList(state, asyncRoutes) {
      state.menuList = [...constantRoutes, ...asyncRoutes]
    }
  },
  actions: {

  }
}
